<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<span th:if="${sex} == '男'">
		性别男
	</span>
	<span th:if="${sex} == '女'">
		性别女
	</span>
	<hr/>
	<span th:switch="${id}">
		<span th:case="1">
			id为1
		</span>
		<span th:case="2">
			id为2
		</span>
		<span th:case="3">
			id为3
		</span>
	</span>
</body>
</html>